|
|
|
|
|
|
|
If you purchase third-party controls from other vendors, youll need to check with them as to whether their controls can be redistributed. Most of these controls are freely distributable, but a small percentage of them have runtime license fees. Be sure you determine your rights prior to purchasing the control or DLL. |
|
|
|
|
|
|
|
|
If you want to see how the Setup1.exe program is written, check out the Setup1.vbp file in the \<Visual Basic Folder>\Wizards\PDWizard\Setup1 folder. Load up the Setup1.vbp file and look at the frmSetup1 form. In Form_Load() is where most of the processing takes place. You can also modify this code if you want to add your own special processing. For example, you might want to add your own logo to the main setup form. You could add a picture control to the frmSetup1 form and then add your logo to this control. |
|
|
|
|
|
|
|
|
Testing Your Installation |
|
|
|
|
|
|
|
|
After the installation disks are prepared, you should always test them out. You could use your machine, but unfortunately it wont have the same configuration your users have. Instead, you should use a machine that has never had a VB application installed on it. This way, you can ensure that all the appropriate DLL and custom control files are installed. |
|
|
|
|
|
|
|
|
Its ideal to have a separate machine dedicated to just testing software installations. If you dont have this luxury, you can make a backup of an existing machine and then install a fresh copy of Win95 or WinNT on that machine. You want to make sure this machine has the same environment as what your users will have. |
|
|
|
|
|
|
|
|
Steps for Testing Installations |
|
|
|
|
|
|
|
|
There are some basic steps that you should always follow when you want to test your installation. It is very important that you test your installation program as thoroughly as you test your application. Lets review these steps now. |
|
|
|
|
|
|
|
|
1. Install a fresh copy of Win95 or WinNT on a machine. You may also want to add applications that the users will have on their machines. |
|
|
|
|
|